package cn.sherer.beans.douyin.playlet;

import java.io.Serializable;

/**
 * 抖音短剧资源上传结果
 */
public class DyPlayletResourceUploadResult implements Serializable {
    private int resource_type;
    private DyPlayletResourceUploadImageResult image_result;
    private DyPlayletResourceUploadVideoResult video_result;

    public DyPlayletResourceUploadResult() {
    }

    public DyPlayletResourceUploadResult(int resource_type, DyPlayletResourceUploadImageResult image_result) {
        this.resource_type = resource_type;
        this.image_result = image_result;
    }

    public DyPlayletResourceUploadResult(int resource_type, DyPlayletResourceUploadVideoResult video_result) {
        this.resource_type = resource_type;
        this.video_result = video_result;
    }

    public DyPlayletResourceUploadResult(int resource_type, DyPlayletResourceUploadImageResult image_result, DyPlayletResourceUploadVideoResult video_result) {
        this.resource_type = resource_type;
        this.image_result = image_result;
        this.video_result = video_result;
    }

    public int getResource_type() {
        return resource_type;
    }

    public void setResource_type(int resource_type) {
        this.resource_type = resource_type;
    }

    public DyPlayletResourceUploadImageResult getImage_result() {
        return image_result;
    }

    public void setImage_result(DyPlayletResourceUploadImageResult image_result) {
        this.image_result = image_result;
    }

    public DyPlayletResourceUploadVideoResult getVideo_result() {
        return video_result;
    }

    public void setVideo_result(DyPlayletResourceUploadVideoResult video_result) {
        this.video_result = video_result;
    }

    @Override
    public String toString() {
        return "DyPlayletResourceUploadResult{" + "resource_type=" + resource_type + ", image_result=" + image_result + ", video_result=" + video_result + '}';
    }
}
